package com.manlost.web.common.download;

import java.util.List;

import com.manlost.biz.baby.model.dataobject.BabyDraft;

public class DownloadBabyTask {
	private List<BabyDraft> downloadTask;

	public List<BabyDraft> getDownloadTask() {
		return downloadTask;
	}

	public void setDownloadTask(List<BabyDraft> downloadTask) {
		this.downloadTask = downloadTask;
	}

	public void doWork(){
		DownloadForBaby download=new DownloadForBaby();
		download.setDownloadTask(downloadTask);
		new Thread(download).start();
	}
}
